CREATE TABLE [dbo].[T_USER]
(
[USER_ID] [bigint] NOT NULL IDENTITY(1, 1),
[PERSON_ID] [bigint] NULL,
[USER_LOGIN] [varchar] (25) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[USER_PASSWORD] [varbinary] (256) NOT NULL,
[CREATE_DATE] [datetime] NOT NULL,
[DISABLE_DATE] [datetime] NULL,
[USER_STATUS] [bit] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[T_USER] ADD CONSTRAINT [PK__T_USER__F3BEEBFF69046551] PRIMARY KEY CLUSTERED  ([USER_ID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[T_USER] ADD CONSTRAINT [FK__T_USER__PERSON_I__4316F928] FOREIGN KEY ([PERSON_ID]) REFERENCES [dbo].[T_PERSON] ([PERSON_ID])
GO
